package su.mvc.solo.model;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by Rustam Ismailov
 * Date: Nov 15, 2009 : 10:41:40 PM
 */
@Entity
public class User extends DomainEntity{

    private String firstName;

    private String lastName;

    private String email;

    @Version
    private Long version;


    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

}
